package com.ym.b2b.brand.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.ym.b2b.brand.sqlbean.EmBBrand;
import com.zc.commons.base.Page;

public interface EmBBrandDAO {

    Long searchPageEmBBrandNum(EmBBrand embbrand) throws DataAccessException;

    public Page searchPageEmBBrand(EmBBrand embbrand, Page<EmBBrand> page) throws DataAccessException;

    void insertEmBBrand(EmBBrand record) throws DataAccessException;

    int updateEmBBrand(EmBBrand record) throws DataAccessException;

    EmBBrand searchEmBBrand(Long brandId) throws DataAccessException;

    int deleteEmBBrand(EmBBrand emBBrand) throws DataAccessException;

    public EmBBrand showEmBBrandDetail(EmBBrand emBBrand) throws DataAccessException;

    void deleteMultipleEmBBrands(String brandIdList);

    List<EmBBrand> searchEmBBrand(EmBBrand emBBrand) throws DataAccessException;

}
